package com.nmsl.sn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 家属对象 family_member
 * 
 * @author ruoyi
 * @date 2025-02-20
 */
public class SnFamilyMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 家属id */
    @Excel(name = "家属id")
    private Long familyMemberId;

    /** 患者id（患者表） */
    @Excel(name = "患者id", readConverterExp = "患=者表")
    private Long patientId;

    /** 家庭关系id（字典） */
    @Excel(name = "家庭关系id", readConverterExp = "字=典")
    private Long familyRelationshipId;

    /** 家属姓名 */
    @Excel(name = "家属姓名")
    private String familyMemberName;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phoneNumber;

    /** 年龄 */
    @Excel(name = "年龄")
    private String age;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCardNumber;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 民族id（字典） */
    @Excel(name = "民族id", readConverterExp = "字=典")
    private String ethnicId;

    /** 职业id（字典） */
    @Excel(name = "职业id", readConverterExp = "字=典")
    private String occupationId;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String ext1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String ext2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String ext3;

    public void setFamilyMemberId(Long familyMemberId) 
    {
        this.familyMemberId = familyMemberId;
    }

    public Long getFamilyMemberId() 
    {
        return familyMemberId;
    }
    public void setPatientId(Long patientId) 
    {
        this.patientId = patientId;
    }

    public Long getPatientId() 
    {
        return patientId;
    }
    public void setFamilyRelationshipId(Long familyRelationshipId) 
    {
        this.familyRelationshipId = familyRelationshipId;
    }

    public Long getFamilyRelationshipId() 
    {
        return familyRelationshipId;
    }
    public void setFamilyMemberName(String familyMemberName) 
    {
        this.familyMemberName = familyMemberName;
    }

    public String getFamilyMemberName() 
    {
        return familyMemberName;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setAge(String age) 
    {
        this.age = age;
    }

    public String getAge() 
    {
        return age;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setIdCardNumber(String idCardNumber) 
    {
        this.idCardNumber = idCardNumber;
    }

    public String getIdCardNumber() 
    {
        return idCardNumber;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setEthnicId(String ethnicId) 
    {
        this.ethnicId = ethnicId;
    }

    public String getEthnicId() 
    {
        return ethnicId;
    }
    public void setOccupationId(String occupationId) 
    {
        this.occupationId = occupationId;
    }

    public String getOccupationId() 
    {
        return occupationId;
    }
    public void setExt1(String ext1) 
    {
        this.ext1 = ext1;
    }

    public String getExt1() 
    {
        return ext1;
    }
    public void setExt2(String ext2) 
    {
        this.ext2 = ext2;
    }

    public String getExt2() 
    {
        return ext2;
    }
    public void setExt3(String ext3) 
    {
        this.ext3 = ext3;
    }

    public String getExt3() 
    {
        return ext3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("familyMemberId", getFamilyMemberId())
            .append("patientId", getPatientId())
            .append("familyRelationshipId", getFamilyRelationshipId())
            .append("familyMemberName", getFamilyMemberName())
            .append("phoneNumber", getPhoneNumber())
            .append("age", getAge())
            .append("gender", getGender())
            .append("idCardNumber", getIdCardNumber())
            .append("address", getAddress())
            .append("ethnicId", getEthnicId())
            .append("occupationId", getOccupationId())
            .append("ext1", getExt1())
            .append("ext2", getExt2())
            .append("ext3", getExt3())
            .toString();
    }
}
